package com.kuaimacode.kframework.api.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author 12786 on 2019/3/18.
 * @version 1.0
 */
@Data
@ApiModel(value = "NearOrderReq")
public class NearOrderReq {

    @ApiModelProperty(value = "师傅当前位置经度")
    @NotBlank(message = "longitude经度不能为空")
    private String longitude;

    @ApiModelProperty(value = "师傅当前位置维度")
    @NotBlank(message = "latitude维度")
    private String latitude;

    @ApiModelProperty(value = "附近范围 单位:公里")
    private Integer distanceLimit;

    @ApiModelProperty(value = "分站ID")
    private Long agentId;
}
